<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>增强表单-input</title>
</head>
<body>
    <form action="">
        <div>
            颜色选择：<input type="color" name="color">
        </div>
        <div>
            邮箱：<input type="email" name="myemail">
        </div>
        <div>
            url地址（完整地址）：<input type="url">
        </div>
        <div>
            电话号码：<input type="tel">
            <!-- 适用于手机端网页 -->
        </div>
        <div>
            滑块效果<input type="range" name="range" min="100" max="200" step="10" value="100">
            <!-- step步长 -->
        </div>
        <div>
            数字类型：<input type="number" min="0" max="10" value="4" step="2" name="age">
        </div>
        <div>
            搜索：<input type="search">
        </div>
        <div>
            日期选择：<input type="date">
            月份选择：<input type="month">
            周数选择：<input type="week">
            精确到时分日期：<input type="datetime-local" name="datetime">
        </div>
        <input type="submit">
    </form>
</body>
</html>